package com.lovo.psc.service.impl;

import com.lovo.psc.dto.OrderDto;
import com.lovo.psc.entity.PscOrder;
import com.lovo.psc.mapper.PscOrderMapper;
import com.lovo.psc.service.IPscOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lovo
 * @since 2022-07-07
 */
@Service
public class PscOrderServiceImpl extends ServiceImpl<PscOrderMapper, PscOrder> implements IPscOrderService {

    @Override
    public List<OrderDto> findIdOrder(Integer supplyCode) {
        return baseMapper.findIdOrder(supplyCode);
    }

    @Override
    public List<OrderDto> findIdByStateOrder(Integer supplyCode, String supplyState) {
        return baseMapper.findIdByStateOrder(supplyCode,supplyState);
    }
}
